package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 hospital
 * 
 * @author ruoyi
 * @date 2025-03-05
 */

@TableName("hospital")
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Hospital implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 医院id */
    @TableId("id")
    private Integer id;
    /** 医院名称 */
    @TableField("imgurl")
    private String imgurl;

    /** 医院名称 */
    @TableField("name")
    private String name;

    /** 医院所属地址id */
    @TableField("address_id")
    private Integer addressId;

    private Address address;
    private String addressName;
    /** 医院所属医生数量 */
    @TableField("doctors_num")
    private Integer doctorsNum;

    @TableField("create_time")
    private Date createTime;

    @TableField("longitude")
    private Double longitude;

    @TableField("latitude")
    private Double latitude;

}
